<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <link rel="icon" href="/favicon.ico">
  <meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=no">
  <title>Vite App</title>
  <script>
    let html = document.getElementsByTagName("html")[0];
    html.style.fontSize = innerWidth * 100 / 375 + "px";
    window.onresize = function () {
      html.style.fontSize = innerWidth * 100 / 375 + "px";
    }
  </script>
</head>

<body>
  <div id="app"></div>
  <script type="module" src="/src/main.ts"></script>
</body>

</html>